home *** CD-ROM | disk | FTP | other *** search
- Path: newshub.cts.com!ns
- From: tsk@cts.com (John Lutz)
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
- Subject: Linked Lists
- Date: 5 Apr 1996 08:14:14 GMT
- Organization: Cathedral Software, Inc.
- Message-ID: <4k2kom$k5r@news2.cts.com>
- NNTP-Posting-Host: tsk.cts.com
- Summary: Linked Lists, C++, Allocation
- Keywords: Linked Lists, C++, Allocation
-
-
- Hello everyone!
-
- I have a somewhat interesting problem. I am taking over an existing
- project that is a propretary graphic object based engine. Essentially the
- product is a game. The existing product wasen't complete in design or
- implementation.
-
- There are several objects...
-
-
- Graphic Object-----V
- Animation Sprite__V
- Prop Sprite
- TextSprite
-
- Indicator (fuel gauge)
- Button
-
- Etc..
-
- I would like to store all the objects in a linked list for a given window. I
- would like for the linked list to handle the dynamic allocation of these
- object and return the pointer to the subclass that is allocating the objects
- on the linked list. I would like for the linked list class to delete all
- objects dynamically.
-
- Any help is appreciated in this area.
-
-
- John
-
- tsk@cts.com
-